package nc.vo.arap.amortization;

import nc.vo.pub.SuperVO;

public class VoucherLogVO  extends SuperVO{
	/**
	 * 
	 */
	private static final long serialVersionUID = 5810607088673279173L;
	private String pk_voucherlog;
	
	
	public String getPk_voucherlog() {
		return pk_voucherlog;
	}
	public void setPk_voucherlog(String pk_voucherlog) {
		this.pk_voucherlog = pk_voucherlog;
	}


	private String billType;
	private String pk_voucher;
	private String pk_bill;
	private String pk_bills;
	public String getPk_bills() {
		return pk_bills;
	}
	public void setPk_bills(String pk_bills) {
		this.pk_bills = pk_bills;
	}


	private int dr;
	private String ts;
	
	private String vouchernum;
	
	
	
	public String getVouchernum() {
		return vouchernum;
	}
	public void setVouchernum(String vouchernum) {
		this.vouchernum = vouchernum;
	}
	public String getBillType() {
		return billType;
	}
	public void setBillType(String billType) {
		this.billType = billType;
	}
	public String getPk_voucher() {
		return pk_voucher;
	}
	public void setPk_voucher(String pk_voucher) {
		this.pk_voucher = pk_voucher;
	}
	public String getPk_bill() {
		return pk_bill;
	}
	public void setPk_bill(String pk_bill) {
		this.pk_bill = pk_bill;
	}
	public int getDr() {
		return dr;
	}
	public void setDr(int dr) {
		this.dr = dr;
	}
	public String getTs() {
		return ts;
	}
	public void setTs(String ts) {
		this.ts = ts;
	}
	
	private String msg ;
	
	
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		if(msg.length()>3000) {
			this.msg = msg.substring(0,3000);
		}else {
			this.msg = msg;
		}
		
	}
	@Override
	public String getPKFieldName() { 
		return "pk_voucherlog";
	}
	
	@Override
	public String getTableName() { 
		return "arap_voucherlog";
	}
	
	@Override
	public String getPrimaryKey() { 
		return this.pk_voucherlog;
	}
}
